package com.wf.smartcomm.server.service;

import java.util.List;

import com.wf.smartcomm.server.bean.Advertisement;
import com.wf.smartcomm.server.bean.Complain;
import com.wf.smartcomm.server.bean.Guide;
import com.wf.smartcomm.server.bean.Praise;
import com.wf.smartcomm.server.bean.Repair;
import com.wf.smartcomm.server.bean.Shop;
import com.wf.smartcomm.server.bean.ThumbImage;
import com.wf.smartcomm.server.bean.Village;


public interface ThumbImageService {
	public void save(ThumbImage image);
	public void save(List<ThumbImage> images);
	public List<ThumbImage> listByComplain(Complain complain);
	public List<ThumbImage> listByPraise(Praise praise);
	public List<ThumbImage> listByRepair(Repair repair);
	public List<ThumbImage> listByGuide(Guide guide);
	public List<ThumbImage> listByShop(Shop shop);
	public List<ThumbImage> listByVillage(Village village);
	public List<ThumbImage> listByAdvertisement(Advertisement ad);
	public void deleteGuideImages(String objectId);
	public void deleteAdImages(String objectId);
	public void deleteAnnounceImages(String objectId);
	public void deleteShopImages(String objectId);
}
